const geohash = require('ngeohash');
let fs = require('fs')


const precision = 6; // precision determines the length of the resulting GeoHash string


function getDbList(dirpath) {

    let dirlist = fs.readdirSync(dirpath)

    console.log(dirlist);
    

    let tmpstr = 'xn7vy7'
    
    let decodeobj = geohash.decode_bbox(tmpstr)
    
    console.log(decodeobj);
    
}

// exports.getDbList = getDbList

getDbList('D:\\zxn\\jjback\\testdata\\testfiledb\\')


